package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Product;
import cn.tedu.egmybatis4.pojo.vo.ProductVo1;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    ProductVo1 selectSingleProduct(Integer id);

    int delateById(Integer id);

    int dynamicUpdate(Product product);

    int deleteByIds(ArrayList<Integer> ids);

    int dynamicUpdate1(Product product);
}
